    /***
     * @description axios封装
     * @file api.ts
     * @author andy
     * @date 2024/3/22 16:40
     */
// file:api.s
// 1、导入axios以及拦截器
import service from '../request'
// demo接口1
export const demo1 = (data:any) => {
    return service({
        url: '/user/user/demo1/' + data,
        method: 'post'
    })
};
// demo接口2
export const demo2 = (data:any) => {
    return service({
        url: '/user/user/demo2',
        method: 'post',
        data
    })
};
// 查询参团活动列表信息
export const selectGroupActiveService = (data:any) => {
    return service({
        url: '/group/active/selectGroupActive',
        method: 'post',
        data
    })
};
// 修改参团活动
export const updateGroupActiveService = (data:any) => {
    return service({
        url: '/group/active/updateGroupActive',
        method: 'post',
        data
    })
};
// 添加参团活动
export const addGroupActiveService = (data:any) => {
    return service({
        url: '/group/active/addGroupActive',
        method: 'post',
        data
    })
};
// 删除参团活动
export const deleteGroupActiveService = (data:any) => {
    return service({
        url: '/group/active/deleteGroupActive',
        method: 'post',
        data
    })
};




